package cn.yuanqiao.archive.formManage.formRule.domain;

import cn.yuanqiao.common.annotation.Excel;
import cn.yuanqiao.common.core.domain.BaseEntity;

/**
 * 分单规则对象 YQ_FORM_RULE
 * 
 * @author yuanqiao
 * @date 2023-06-26
 */
public class YqFormRule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 规则id */
    private String ruleId;

    /** 表单id */
    private String formId;

    /** 字段名称 */
    @Excel(name = "字段名称")
    private String fieldName;

    /** 判断条件 */
    @Excel(name = "判断条件")
    private String CONDITION;

    /** 字段类型 */
    @Excel(name = "字段类型")
    private String fieldType;

    /** 是否静态 */
    @Excel(name = "是否静态")
    private String isStatic;

    /** 动态值 */
    @Excel(name = "动态值")
    private String dynamicValue;

    @Excel(name = "条件名称")
    private String conditionName;

    private String staticValue;

    private String groupId;

    private String type;

    private String columnCondition;

    private String tenantCode;

    public String getStaticValue() {
        return staticValue;
    }

    public void setStaticValue(String staticValue) {
        this.staticValue = staticValue;
    }

    public String getConditionName() {
        return conditionName;
    }

    public void setConditionName(String conditionName) {
        this.conditionName = conditionName;
    }

    public void setRuleId(String ruleId)
    {
        this.ruleId = ruleId;
    }

    public String getRuleId() 
    {
        return ruleId;
    }
    public void setFormId(String formId) 
    {
        this.formId = formId;
    }

    public String getFormId() 
    {
        return formId;
    }
    public void setFieldName(String fieldName) 
    {
        this.fieldName = fieldName;
    }

    public String getFieldName() 
    {
        return fieldName;
    }
    public void setCONDITION(String CONDITION) 
    {
        this.CONDITION = CONDITION;
    }

    public String getCONDITION() 
    {
        return CONDITION;
    }
    public void setFieldType(String fieldType) 
    {
        this.fieldType = fieldType;
    }

    public String getFieldType() 
    {
        return fieldType;
    }
    public void setIsStatic(String isStatic) 
    {
        this.isStatic = isStatic;
    }

    public String getIsStatic() 
    {
        return isStatic;
    }
    public void setDynamicValue(String dynamicValue) 
    {
        this.dynamicValue = dynamicValue;
    }

    public String getDynamicValue() 
    {
        return dynamicValue;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getColumnCondition() {
        return columnCondition;
    }

    public void setColumnCondition(String columnCondition) {
        this.columnCondition = columnCondition;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    @Override
    public String toString() {
        return "YqFormRule{" +
                "ruleId='" + ruleId + '\'' +
                ", formId='" + formId + '\'' +
                ", fieldName='" + fieldName + '\'' +
                ", CONDITION='" + CONDITION + '\'' +
                ", fieldType='" + fieldType + '\'' +
                ", isStatic='" + isStatic + '\'' +
                ", dynamicValue='" + dynamicValue + '\'' +
                ", conditionName='" + conditionName + '\'' +
                '}';
    }
}
